package cn.itcast.service;

import cn.itcast.domain.Account;

import java.util.List;

public interface AccountService {
    List<Account> findAll()throws Exception;

    int delete(Integer id)throws Exception;

    int add(Account account)throws Exception;

    int update(Integer id,String name,Integer money);
}
